package pers.yaoliguo.bms.service.impl.activity;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import pers.yaoliguo.bms.dao.activity.UserDao;
import pers.yaoliguo.bms.entity.activity.User;
import pers.yaoliguo.bms.service.activity.IuserService;
import pers.yaoliguo.bms.uitl.BmsDataSource;
@Service("userService")
public class UserServiceImpl implements IuserService {
      @Resource
	  private UserDao  userDao;

	 

	@Override
	@BmsDataSource("activitydataSource")
	public User getUserById(int userId) {
		// TODO Auto-generated method stub
		return userDao.selectByPrimaryKey(userId);
	}


 

	 
 
	 
	 
}
